package com.thoughtworks.biblioteca;

import java.util.ArrayList;
import java.util.List;

//Understands a set of movies that are available for checkout
class MoviesCatalog {
	private List<Movie> movieCatalog = new ArrayList<Movie>();

	public MoviesCatalog() {
		MovieDB movieDB = new MovieDB();
		movieCatalog=movieDB.getMovies();
	}

	public List<Movie> getMovieCatalog() {
		return movieCatalog;
	}

	public MoviesCatalog refreshMoviesCatalog() {
		
		return new MoviesCatalog();
		
	}
}
